package com.example.administrator.mvp.module.user;

import com.example.administrator.mvp.base.i.IBasePresenter;
import com.example.administrator.mvp.base.i.IBaseView;
import com.example.administrator.mvp.model.entity.UserEntity;

/**
 * 契约接口，用来管理Presenter和View
 */
public interface UserContract {

    interface Presenter extends IBasePresenter {
        void getUserInfo(String token);
    }

    interface View extends IBaseView {
        void showUserInfo(UserEntity entity);
    }
}
